package org.jackysoft.entity;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.hibernate.annotations.Type;
import org.jackysoft.entity.AbstractEntity;
import org.jackysoft.entity.Department;
import org.joda.time.DateTime;
@Entity
@org.hibernate.annotations.Entity(dynamicUpdate=true,dynamicInsert=true) 
public class ReportReseted extends AbstractEntity {
   
	/**
	 * 
	 */
	private static final long serialVersionUID = 1707646058918407726L;
	private Department department;
	private DateTime dueDate;
    private boolean resetable = false;
	
	public ReportReseted(){
		
	}


	@ManyToOne
	public Department getDepartment() {
		return department;
	}


	public void setDepartment(Department department) {
		this.department = department;
	}


	@Type(type = "jodatime")
	public DateTime getDueDate() {
		return dueDate;
	}


	public void setDueDate(DateTime dueDate) {
		this.dueDate = dueDate;
	}


	public boolean isResetable() {
		return resetable;
	}


	public void setResetable(boolean resetable) {
		this.resetable = resetable;
	}  


}